package com.sy.pet.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author liangSY
 * @since 2024-09-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("pet_type")
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class PetType implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @TableField("title")
    private String title;

    @TableField("create_time")
    private LocalDateTime createTime;
    /**
     * 是否删除
     */
    @TableField("is_active")
    private Boolean active;

}
